package com.education.service.impl;

import com.education.dao.NewsMapper;
import com.education.pojo.News;
import com.education.service.NewsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2018/5/3.
 */
@Service("NewsMapper")
public class NewsServiceImpl implements NewsService {
    @Autowired
    private NewsMapper newsMapper;

    @Override
    public List<News> selectByPrimaryKey(Integer nZt) {
        return newsMapper.selectByPrimaryKey(nZt);
    }
}
